package com.neusoft.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neusoft.crm.mapper.SaleChanceMapper;
import com.neusoft.crm.po.SaleChance;
import com.neusoft.crm.service.ISaleChanceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SaleChanceServiceImpl extends ServiceImpl<SaleChanceMapper, SaleChance> implements ISaleChanceService {
    @Resource
    private SaleChanceMapper saleChanceMapper;

    @Override
    public List<SaleChance> selectSaleChanceByStatus(SaleChance saleChance) {
        return saleChanceMapper.selectSaleChanceByStatus(saleChance);
    }

    @Override
    public List<SaleChance> selectSaleChanceByChanceDueId() {
        return saleChanceMapper.selectSaleChanceByChanceDueId();
    }


}
